package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 *
 * 账户手机号记录
 *
 */
@Getter
@Setter
@Document("account_mobile_record")
public class AccountMobileRecord extends EntityBase {
    @Indexed
    private String userId;
    @Indexed
    private String mobile;
    /**
     * 是否授权
     */
    private Boolean binded = Boolean.FALSE;
    /**
     * 绑定时间
     */
    private Date bindedTime;


}
